package com.css.fxfzypg.modules.earthquakedisasterloss.service;

import com.css.fxfzypg.modules.baseData.entity.PbeEntity;
import com.css.fxfzypg.modules.earthquakedisasterloss.entity.PlantPbe;
import com.css.fxfzypg.modules.earthquakedisasterloss.vo.SeismicInfluencefliedVO;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * @Description: fxfzypg
 * @Author: lhl
 * @CreateDate: 2022/11/4 9:27
 */
public interface YpgResultPbeService {
    void savePlantPbe(String taskId, String pbeId, SeismicInfluencefliedVO seismicInfluencefliedVO,
                      BigDecimal plantPerson);
    PlantPbe savePlantPbe1(String taskId, String pbeId, String geomText, int i,
                      BigDecimal plantPerson);

    List<PlantPbe> getByTaskId(String taskId);

    int delPlantPbe(String taskId);

    List<PbeEntity> getPbeByTaskId(String taskId);

    List<PlantPbe> getPbeByDzIntensity(String taskId, String dzIntensity);

    List<Map<String, Object>> getPlantPbeByTaskId(String taskId,String range);

    int savePlantPbeList(List<PlantPbe> plantPbeList);

    PlantPbe getNewPlantPbe(String taskId, String pbeId, String geomText, int i, BigDecimal plantPerson);

    void createResultPbeFqRel(String taskId);
}
